const init = {
  message: '',
  id: -1
}

export default (state = init, action) => {
  switch (action.type) {
    case 'GET_SIMPLE_CODING_QUIZ':
      return action.data
    default:
      return state
  }
}
